package com.holly.unit.bpmn.activiti.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.holly.unit.db.api.pojo.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 类描述: 流程消息实体类
 *
 * @author fxr
 * @version 1.0.0
 * @date 2022/3/9 10:26
 */
@EqualsAndHashCode(callSuper = true)
@TableName("act_z_news")
@Data
public class ActivitiZNewsTemplate extends BaseEntity{
    /**
     * 主键
     */
    @TableId(value = "template_id", type = IdType.ASSIGN_ID)
    private Long templateId;

    /**
     * 消息模板编码
     */
    @TableField(value = "template_code")
    private String templateCode;

    /**
     * 消息模板标题
     */
    @TableField(value = "template_name")
    private String templateName;

    @TableField(value = "template_content")
    private String templateContent;

    @TableField(value = "template_json")
    private String templateJson;

    @TableField(value = "template_type")
    private String templateType;

    /**
     * 是否删除：Y-已删除，N-未删除
     */
    @TableField(value = "del_flag", fill = FieldFill.INSERT)
    private String delFlag;

}
